//
//  HLHomeRecommendModel.swift
//  HLXiMaLaYa
//
//  Created by hulinhu on 2018/1/24.
//  Copyright © 2018年 hulinhu. All rights reserved.
//

import Foundation
import ObjectMapper

class HLHomeRecommendModel: Mappable {
    
    required init?(map: Map) {
        
    }
    
    func mapping(map: Map) {
        
        ret <- map["ret"]
        maxPageId <- map["maxPageId"]
        totalCount <- map["totalCount"]
        msg <- map["msg"]
        
        focusList <- map["list.0.list.0.data"]
        
        squareList <- map["list.1.list"]
        categoryList <- map["list"]
        nextCategoryList <- map["list"]
    }
    
    var ret = 0
    var maxPageId = 5
    var totalCount = 100
    var msg = "成功"
    
    
    var focusList : [HLFocusModel]?
    var squareList : [HLSquareModel]?
    var categoryList: [HLCategoryModel]?
    var nextCategoryList: [HLRecommendModel]?
    

}
public extension Mappable {
    
    public static func objectForMapping(map: Map) -> Mappable? {
        return nil
    }
}
